<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="<c:url value='/css/bootstrap.css' />" rel="stylesheet">
<title>Money for nothing - Accounts</title>
</head>
<body>
	<%@include file="logbar.jsp"%>
	<div class="container offset-content">
		<%@include file="title.jsp"%>
		<div class="span12 subnav">
			<ul class="pagination">
				<li><a href="<c:url value="/" />">Home</a></li>
				<li><a href="<c:url value='/accounts'/>">Accounts</a></li>
				<li class="active"><a href="<c:url value='/transfers/generate'/> ">Transfers</a></li>
			</ul>
			<ul class="nav nav-tabs">
				<li><a href="<c:url value='/transfers/generate'/> ">Transfer
						funds</a></li>
				<li class="active"><a href="#">Accounts management</a></li>
			</ul>
		</div>
		<fieldset class="span12">
			<legend>Accounts Management</legend>
			<div class="span12">
				<c:choose>
					<c:when test='${error}'>
						<div class="alert alert-error">
							<h4>Error</h4>
							You have entered a wrong account number, please try again. You
							suck btw.
						</div>
					</c:when>
					<c:otherwise>
						<div class="alert alert-info">
							<h4>Adding an account</h4>
							Here you can add an account to your "accounts you can credit"
							list.
						</div>
					</c:otherwise>
				</c:choose>
			</div>
			<form class="span12 form-horizontal"
				action="<c:url value='management/account-adding' />" method='POST'>
				<div class="control-group">
					<label class="control-label">Account to add</label>
					<div class="controls">
						<input type="text" class="input-xlarge" name="accountToAdd">
					</div>
				</div>
				<div class="form-actions">
					<button name="submit" type="submit" class="btn btn-primary">Add</button>
					<button name="reset" type="reset" class="btn">Reset</button>
				</div>
			</form>
		</fieldset>
		<%@include file="footer.jsp"%>
	</div>
</body>
</html>